namespace NFreeMarker.Cache
{
    /**
     * An optional interface for cache storage that knows whether it can be 
     * concurrently accessible without synchronization.
     * @author Attila Szegedi
     * @version $Id: $
     */

    public interface IConcurrentCacheStorage : ICacheStorage
    {
        /**
         * Returns true if this instance of cache storage is concurrently 
         * accessible from multiple threads without synchronization.
         * @return true if this instance of cache storage is concurrently 
         * accessible from multiple threads without synchronization.
         */
        bool IsConcurrent();
    }
}